package ar.com.nexttome.context;

import java.util.List;

import android.app.Application;
import android.graphics.Bitmap;
import android.support.v4.util.LruCache;
import ar.com.nexttome.entities.Persona;

public class ApplicationContext extends Application{
	
	private Persona personaSeleccionada;
	private Persona currentUser;
	private List<Persona> listPersonas = null;
	private LruCache<String, Bitmap> cache = new LruCache<String, Bitmap>(4 * 1024 * 1024);

	public Persona getPersonaSeleccionada() {
		return personaSeleccionada;
	}

	public void setPersonaSeleccionada(Persona personaSeleccionada) {
		this.personaSeleccionada = personaSeleccionada;
	}

	public Persona getCurrentUser() {
		return currentUser;
	}

	public void setCurrentUser(Persona currentUser) {
		this.currentUser = currentUser;
	}

	public List<Persona> getListPersonas() {
		return listPersonas;
	}

	public void setListPersonas(List<Persona> listPersonas) {
		this.listPersonas = listPersonas;
	}

	public LruCache<String, Bitmap> getCache() {
		return cache;
	}

	public void setCache(LruCache<String, Bitmap> cache) {
		this.cache = cache;
	}

}
